<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="BranchList, App_Web_odyrwiur" %>

<%--<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

.green-colour{
background-color:#8dc234;
font-family:Tahoma;
font-size:17px;
padding-left:4px;
color:#ffffff;
margin:2px;
text-decoration:none;
font-weight:bold;
}
.user{
font-family:Tahoma;
font-size:12px;
color:#124c56;
margin:4px;
text-decoration:none;
}
        .style1
        {
            font-family: verdana;
            color: #050505;
            font-size: 11px;
            line-height: 15px;
            text-align: left;
        }
 .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px 8px !important;
}
.sidebar .logo {
    padding: 0px 0;
}
.card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    padding: 10px !important;
}
.table tr th
{
    color:#fb8c00;
    font-weight:400;
 
}
        </style>
</asp:Content>
<%--<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
</asp:Content>--%>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

 <div class="main-panel">
        <div class="content">
        <div class="container" id="branchlist" runat="server">
        <div class="row dash-pane2" style="margin-top:180px !important">
        <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title">  <i class="fa fa-list fa-fw"></i><asp:Label ID="lblListofBranches" runat="server" Text="List of Branch"></asp:Label></h4>
                </div>
                <div class="card-body table-responsive" style="height:300px; over-flow-x:hidden; overflow-y:scroll">
                                          <asp:GridView ID="Grid1" runat="server"  class="table table-hover"
          AutoGenerateColumns="False" CellPadding="3" DataKeyNames="BranchId" 
          Width="100%"
          style="font-family: Verdana; font-size: 9pt" 
           
            onselectedindexchanged="Grid1_SelectedIndexChanged"  >
         
          <Columns>
              <asp:TemplateField HeaderText="Select">
                <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" Width="30px" />
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server" />
                  </ItemTemplate>
                 
              </asp:TemplateField>
              <asp:HyperLinkField DataNavigateUrlFields="BranchId" 
                  DataNavigateUrlFormatString="Branch.aspx?RowId={0}" 
                  DataTextField="Branch_Name" HeaderText="Branch Name"  
                  SortExpression="Branch_Name">
             
             
             
              </asp:HyperLinkField>
              <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address">
               
            </asp:BoundField>
            <asp:BoundField DataField="PhoneNo" HeaderText="Phone No" SortExpression="PhoneNo">
                
            </asp:BoundField>
             <asp:BoundField DataField="EmailId" HeaderText="Email Id " SortExpression="EmailId">
                
            </asp:BoundField>
          </Columns>
         
      </asp:GridView>             
       </div>
       </div>
       </div>
       <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
                   <asp:Button ID="Btnadd" runat="server" Text="Add" onclick="Btnadd_Click" 
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
        <asp:Button ID="BtnDel" runat="server" type="button" Text="Delete" onclick="BtnDel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" 
            Text="close" class=" btn btn-danger"
            onclick="Button1_Click"  /><i></i>
       </div>
                </div>
              </div>
   

 
  
 

       
  </div>

      
         

    <script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
     <script type="text/javascript" src="js/bootstrap-material-design.min.js"></script>
     <script src="js/material-dashboard.min1036.js" type="text/javascript"></script>
    <script src="js/popper.min.js" type="text/javascript"></script>
    <script src="js/perfect-scrollbar.jquery.min.js" type="text/javascript"></script>
   
</asp:Content>
